import store from "@/store";
//用于判断当前用户是否有指定按钮的权限
//特定按钮权限值 btnPer
export default function hasBtnPermission(btnPer) {
    //判断按钮权限列表中是否包含此权限值
    return store.getters.buttons.includes(btnPer)
}